<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction
  Id="47F3094B-F715-4675-9FFB-FEE63B322DC3"
  Location="DisplayFormToolbar"
  Sequence="1000"
  Title="E-mail this file"
  Description="E-mail this file."
  ImageUrl="/_layouts/images/sendto.gif"
  Rights="OpenItems">
    <UrlAction Url="javascript:commonShowModalDialog('{SiteUrl}/_layouts/ListFeatures/SendEmail.aspx?List={ListId}&amp;ID={ItemId}&amp;Feature={FeatureId}','dialogWidth:600px;dialogHeight:520px;resizable:yes',function(rv){if(rv)location.reload(true);}, null);" />
  </CustomAction>
  
  <CustomAction
  Id="E5E57995-C924-4689-8C38-97D9E935CAA5"
  Location="EditControlBlock"
  Sequence="1000"  
  Title="E-mail this file"
  Description="E-mail this file."
  ImageUrl="/_layouts/images/sendto.gif"
  Rights="OpenItems">
    <UrlAction Url="javascript:commonShowModalDialog('{SiteUrl}/_layouts/ListFeatures/SendEmail.aspx?List={ListId}&amp;ID={ItemId}&amp;Feature={FeatureId}','dialogWidth:600px;dialogHeight:520px;resizable:yes',function(rv){if(rv)location.reload(true);}, null);" />
  </CustomAction>
  
</Elements>